add_swift_library(swiftSema
  CodeSynthesis.cpp
  Constraint.cpp
  ConstraintGraph.cpp
  ConstraintLocator.cpp
  ConstraintSystem.cpp
  CSApply.cpp
  CSDiag.cpp
  CSGen.cpp
  CSRanking.cpp
  CSSimplify.cpp
  CSSolver.cpp
  DerivedConformanceEquatableHashable.cpp
  DerivedConformanceErrorProtocol.cpp
  DerivedConformanceRawRepresentable.cpp
  DerivedConformances.cpp
  ITCDecl.cpp
  ITCNameLookup.cpp
  ITCType.cpp
  IterativeTypeChecker.cpp
  MiscDiagnostics.cpp
  NameBinding.cpp
  OverloadChoice.cpp
  PlaygroundTransform.cpp
  SourceLoader.cpp
  TypeCheckAttr.cpp
  TypeCheckConstraints.cpp
  TypeCheckDecl.cpp
  TypeChecker.cpp
  TypeCheckError.cpp
  TypeCheckExpr.cpp
  TypeCheckGeneric.cpp
  TypeCheckNameLookup.cpp
  TypeCheckPattern.cpp
  TypeCheckProtocol.cpp
  TypeCheckREPL.cpp
  TypeCheckRequest.cpp
  TypeCheckStmt.cpp
  TypeCheckType.cpp
  LINK_LIBRARIES
    swiftParse
    swiftAST)

